package com.kfirszt.elearning.utils;

import java.util.List;

import com.kfirszt.elearning.dictionary.QuestionType;
import com.kfirszt.elearning.persistence.model.Answer;
import com.kfirszt.elearning.utils.generators.GeneratorsFactory;

public class QuizUtils {
	
	private static GeneratorsFactory generatorsFactory = new GeneratorsFactory();

	public static String convertToHTML(List<Answer> answers, QuestionType questionType) {
		return generatorsFactory.getGenerator(questionType).generate(answers);
	}

}
